abhijeetp
1st March 2004, 05:00
Hi all,
I am working on BCK 1.3 with Baan IV c4 with Windows NT. I had developed a few BOI COM proxy objects and were working fine.
Now I am working under a new environment on a new server with Windows 2000 and BCK 1.3 and Baan IV c4. I have re-done the BOI COM proxy objects and now am facing the following issues-
1. The javac compiler (jkd1.3) is not compiling the .java files generated ... it gives error even for the BOI sample provided :
.\ccmcscurrrates.java:13: duplicate class: ccmcscurrrates.ccmcscurrrates
public class ccmcscurrrates
^
ccmcscurrrates.java:6: package ccmcscurrrates clashes with class of same name
package ccmcscurrrates;
2. If I change the package name and regenerate the .cfg, .odl and .tlb files it allows to compile. Now when I refer the library in VB6.0 and run the program it gives error-
Runtime error "430" Class does not support automation or does not support expected interface.
I am using MDAC 2.7. What could be the problem ?
Any help much appreciated.
Thank you.
I am working on BCK 1.3 with Baan IV c4 with Windows NT. I had developed a few BOI COM proxy objects and were working fine.
Now I am working under a new environment on a new server with Windows 2000 and BCK 1.3 and Baan IV c4. I have re-done the BOI COM proxy objects and now am facing the following issues-
1. The javac compiler (jkd1.3) is not compiling the .java files generated ... it gives error even for the BOI sample provided :
.\ccmcscurrrates.java:13: duplicate class: ccmcscurrrates.ccmcscurrrates
public class ccmcscurrrates
^
ccmcscurrrates.java:6: package ccmcscurrrates clashes with class of same name
package ccmcscurrrates;
2. If I change the package name and regenerate the .cfg, .odl and .tlb files it allows to compile. Now when I refer the library in VB6.0 and run the program it gives error-
Runtime error "430" Class does not support automation or does not support expected interface.
I am using MDAC 2.7. What could be the problem ?
Any help much appreciated.
Thank you.