Search found 20 matches

by j50501313
Wed Feb 03, 2010 6:51 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

I still did not succeed, can give a successful code?
by j50501313
Tue Feb 02, 2010 9:01 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

can you give a complete code?


This EXE is a C + + was created. PB can tell the same?



Image
by j50501313
Tue Feb 02, 2010 8:42 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

Hi Olliv:

I follow your changes, errors.



;
; PureBasic 4.40 (Windows - x86) generated code
;
; (c) 2009 Fantaisie Software
;
; The header must remain intact for Re-Assembly
;
; :System
; KERNEL32
; :Import
;
format MS COFF
;
extrn _ExitProcess@4
extrn _GetModuleHandleA@4
extrn ...
by j50501313
Tue Feb 02, 2010 5:04 pm
Forum: Coding Questions
Topic: Exe Export functions !
Replies: 2
Views: 803

Exe Export functions !

Test.pb

Procedure.l A(a.l,b.l)
ProcedureReturn a + b
EndProcedure
; IDE Options = PureBasic 4.40 (Windows - x86)
; CursorPosition = 12
; Folding = -
; EnableThread
; EnableAdmin


Test.Asm
pbcompiler.exe Test.pb /DYNAMICCPU /THREAD /ADMINISTRATOR /COMMENTED /EXE

;
; PureBasic 4.40 (Windows ...
by j50501313
Tue Feb 02, 2010 2:43 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

Hi Fred:

Modify what position?



;
; PureBasic 4.40 (Windows - x86) generated code
;
; (c) 2009 Fantaisie Software
;
; The header must remain intact for Re-Assembly
;
; :System
; KERNEL32
; :Import
;
format MS COFF
;
extrn _ExitProcess@4
extrn _GetModuleHandleA@4
extrn _HeapCreate@12
extrn ...
by j50501313
Tue Feb 02, 2010 2:29 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

Hi Fred

Procedure, if I use it?
by j50501313
Tue Feb 02, 2010 2:25 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

Hi srod

Can you tell me solution?
by j50501313
Tue Feb 02, 2010 2:22 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

Hi srod:

I would like to create an EXE with the export functions.
by j50501313
Tue Feb 02, 2010 2:08 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

Re: EXPORT Error?

Hi: Rings

As you said, I changed, is still the same error.
by j50501313
Tue Feb 02, 2010 1:45 pm
Forum: Coding Questions
Topic: EXPORT Error?
Replies: 17
Views: 3701

EXPORT Error?

Int.pb:

Procedure.l Add(a.l,b.l)
ProcedureReturn a + b
EndProcedure

; IDE Options = PureBasic 4.40 (Windows - x86)
; CursorPosition = 146
; FirstLine = 120
; Folding = -
; EnableThread
; EnableAdmin
; LinkerOptions = Int.txt


Int.txt:

/EXPORT:_Add@8,NONAME


polink.exe :
/EXPORT:symbol ...
by j50501313
Tue Jan 19, 2010 7:46 pm
Forum: Coding Questions
Topic: Dynamic call C# DLL files?
Replies: 1
Views: 847

Dynamic call C# DLL files?


namespace ClassLibrary
{
[Guid("4BF8F1CE-F33D-48bd-A7C8-C4E8EE7376B1")]

public interface iClass1
{

string A();

}


[Guid("39BE150B-7684-4a16-9574-0F6C15BDE407")]

[ClassInterface(ClassInterfaceType.None)]

public class Class1 : iClass1
{

public string A()
{

return "Test ...
by j50501313
Tue Jan 19, 2010 7:44 pm
Forum: Coding Questions
Topic: Why, the result is not the same?
Replies: 3
Views: 863

Re: Why, the result is not the same?

Thanks
by j50501313
Tue Jan 19, 2010 9:44 am
Forum: Coding Questions
Topic: Why, the result is not the same?
Replies: 3
Views: 863

Why, the result is not the same?

Code: Select all


ipnum.q = -632473845
depth.l =  29

Debug (-632473845  - $FFFFFFFF) And (1 << 29)

Debug (ipnum - $FFFFFFFF) And (1 << depth )

by j50501313
Fri Dec 25, 2009 5:02 pm
Forum: Coding Questions
Topic: unsigned Long ????
Replies: 2
Views: 726

unsigned Long ????


ipnum.q = -632473845
depth.l = 29
Debug (-632473845 - $FFFFFFFF) And (1 << 29 )
Debug (ipnum - $FFFFFFFF) And (1 << depth )
Use a variable modal results are not the same, and why?
by j50501313
Sun Nov 29, 2009 6:27 am
Forum: Coding Questions
Topic: #define FD_SET To PureBasic
Replies: 2
Views: 44474

#define FD_SET To PureBasic

Hello, I'm j50501313 and I'm new to PureBasic. While I really enjoy what I see so far,
I stumbled across this piece of C code that I'd like to convert to PB.


#define FD_CLR(fd, set) do { \
u_int __i; \
for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count ; __i++) { \
if (((fd_set FAR *)(set ...