Search found 11 matches
- Thu Aug 19, 2010 6:56 pm
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
After implementing the DC_setcpu() as provided by Roger, the assignment of CPU core works, however, the assignment is based on the last CPU# saved in the file created. Therefore, it can end up with a situation where the same core is running for a few application when all application in other core qu...
- Fri Aug 13, 2010 12:25 am
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
Hi Auge_Ohr
Yes, the problem is solved. Never thought of such possible cause. Thank you very much for your help.
regards
Yes, the problem is solved. Never thought of such possible cause. Thank you very much for your help.
regards
- Thu Aug 12, 2010 12:44 am
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
#include "dcdialog.ch" #include "dcbitmap.ch" #include "dcicon.ch" #include "appevent.ch" #include "xbp.ch" #include "inkey.ch" #include "dcmsg.ch" #include "dll.ch" Procedure appsys RETURN PROCEDURE MAIN LOCAL GETOPTIONS,GETLIST:={},oApp:=SetAppWindow(),oXbp,nCPU MSGBOX('TEST 1') ** remove this 3 l...
- Thu Aug 12, 2010 12:22 am
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
I have removed all codes and left with very simple program as attached. You can build the exe and run it to see the runtime error.
if you remove the 3 lines as indicated in the program, there will be no error.
Attached is x123.prg and x123.xpj.
if you remove the 3 lines as indicated in the program, there will be no error.
Attached is x123.prg and x123.xpj.
- Wed Aug 11, 2010 2:06 am
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
Hi Tom There is no problem when I run from ..\Source\Samples\Solution\Smp. The problem arise only when I copy and paste the SMP code into my own program. When I remove the SMP code, my application run well. Once I add in the SMP code, runtime error occur. I am still using xbase 1.8 and express build...
- Tue Aug 10, 2010 8:09 pm
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
I attach the print screen for the error.
- Tue Aug 10, 2010 7:45 pm
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
Thanks Tom.
The error is function not defined. Nothing to do with the variable in DLL.ch. I don't know where is the function 'DllprepareCall'. In which library and why is it not defined if it is part of the system library.
regards
The error is function not defined. Nothing to do with the variable in DLL.ch. I don't know where is the function 'DllprepareCall'. In which library and why is it not defined if it is part of the system library.
regards
- Mon Aug 09, 2010 7:49 pm
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
DLL.ch is already included, otherwise error is 'unknown variable dll_cdecl'.
The error is function not declared for 'DllprepareCall'.
regards
The error is function not declared for 'DllprepareCall'.
regards
- Fri Aug 06, 2010 2:19 am
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Re: Multi core CPU
Hi
After adding the function SMPGETCPU(), I encounter a runtime error function not declared for 'DllPrepareCall'. May I know what else do I need to link?
Thanks
After adding the function SMPGETCPU(), I encounter a runtime error function not declared for 'DllPrepareCall'. May I know what else do I need to link?
Thanks
- Fri Jun 11, 2010 1:07 am
- Forum: eXpress++ Support
- Topic: Multi core CPU
- Replies: 21
- Views: 46726
Multi core CPU
I am using RDP ( remote desktop ) to run xbase++ program. However, the exe does not take advantage on the multi core CPU. I have to manually assign each EXE to run on a specific core. Most other program automatically run on multiple core. Can anyone advise how to make xbase exe run on multi-core? Re...